package swu.edu.cn.javaee.entity;

import org.apache.ibatis.type.Alias;

@Alias("group")
public class Group {

    private String gid;//群id，唯一确定组群
    private String gname;//群名称
    private int recommend;//推荐值
    private String creation_time;

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public int getRecommend() {
        return recommend;
    }

    public void setRecommend(int recommend) {
        this.recommend = recommend;
    }

    public String getCreation_time() {
        return creation_time;
    }

    public void setCreation_time(String creation_time) {
        this.creation_time = creation_time;
    }


    @Override
    public String toString() {
        return "Group{" +
                "gid='" + gid + '\'' +
                ", gname='" + gname + '\'' +
                ", recommend='" + recommend + '\'' +
                ", creation_time='" + creation_time + '\'' +
                '}';
    }
}
